package com.sys.dto.idto;

import com.sys.entity.OrdersEntity;

import java.util.List;

public interface IOrderDTO {


    public void save(OrdersEntity entity);


    public void delete(Integer id);


    public OrdersEntity update(OrdersEntity entity,Integer uid);

    public OrdersEntity findById(Integer id);
    public OrdersEntity changePassword(Integer id,String password);


    public List<OrdersEntity> findByProperty(String propertyName, Object value);

    public List<OrdersEntity> findByName(String name);

    public List<OrdersEntity> findByType(Integer oType);


    public List<OrdersEntity> findAll();
}

